package com.yrh.dao;

import com.yrh.bean.TAddress;

import java.util.List;

//地址数据层接口
public interface TAddressDao {
    //查询所有的地址信息
    List<TAddress> allAddress(TAddress tAddress);
    //修改默认地址
    int updateDefault(TAddress tAddress);
    //删除地址
    int delAddress(TAddress tAddress);
    //修改地址
    int updateAds(TAddress tAddress);
    //添加地址
    int addAddress(TAddress tAddress);

}
